export default [
    {
        path: '/',
        redirect: '/login'
    },
    {
        path: '/home',
        redirect: '/home/firstblood'
    },
    {
        // 登录
        path: '/login',
        component: function (resolve) {
            require(['./components/login.vue'], resolve)
        }
    },
    {
        // 主页
        path: '/home',
        component: function (resolve) {
            require(['./components/home.vue'], resolve)
        },
        children: [
            {
                // 
                path: 'firstblood',
                component: function (resolve) {
                    require(['./components/firstblood.vue'], resolve)
                }
            },
            {
                // 
                path: 'tripleblood',
                component: function (resolve) {
                    require(['./components/tripleblood.vue'], resolve)
                }
            },
            {
                // 
                path: 'doubleblood',
                component: function (resolve) {
                    require(['./components/doubleblood.vue'], resolve)
                }
            }
        ]
    }
]
